# Contributor: Lucas Ramage <ramage.lucas@protonmail.com>
# Maintainer: Dominika Liberda <ja@sdomi.pl>
pkgname=phoronix-test-suite
pkgver=10.8.3
pkgrel=1
pkgdesc="The most comprehensive testing and benchmarking platform available for Linux"
url="https://www.phoronix-test-suite.com/"
arch="noarch"
license="GPL-3.0-or-later"
depends="php8 php8-dom php8-zip php8-simplexml php8-pcntl php8-curl"
subpackages="$pkgname-doc $pkgname-bash-completion"
provides="phoromatic-server=$pkgver-r$pkgrel phoromatic-client=$pkgver-r$pkgrel"
source="$pkgname-$pkgver.tar.gz::https://github.com/phoronix-test-suite/phoronix-test-suite/archive/v$pkgver.tar.gz"
options="!check" # no tests

package() {
	DESTDIR="$pkgdir" ./install-sh
	rm -rf "$pkgdir"/usr/lib/systemd

	mkdir -p "$pkgdir"/usr/share/bash-completion
	mv "$pkgdir"/etc/bash_completion.d "$pkgdir"/usr/share/bash-completion/completions
}

sha512sums="
4b6edb88c91bea6121cb1ce27d017ee223096659a5dc760afb96dd5da4c56680d21870b3f0d124524bc0ad5b233699adebb0e16ddb31a38fde9e70302ce42533  phoronix-test-suite-10.8.3.tar.gz
"
